var sTemp = "test string";
var r = document.getElementById("result");
r.innerHtml = (typeof sTemp);

var m = "Page updated " + document.lastModified;
var p = m.length - 8;
document.writeln("<center>");
document.write(m.substring(p,0));
document.writeln("<center>");

function check(form)
{
	var r="";
	if(form.name.value == "")
	{
		r += "名称不能为空\n\r";
	}
	if(form.url.value == "")
	{
		r += "活动链接不能为空"
	}
	if(r.length != 0)
	{
		alert(r);
		return false;
	}
	return true;
}